/**
 * @author 
 * @description 用户相关接口封装处理
 */
import http from '../utils/httpRequest.js'
import * as url from '../utils/global.js'

/* 登录 */
export const login = (params) => http.post(url.baseUrl +'/auth/login', JSON.stringify(params))
/* 邮箱验证码 */
export const sendCode = (params) => http.get(url.baseUrl +'/user/send_code', JSON.stringify(params))

